package com.sm.service.impl;

import com.sm.api.OrderServiceApi;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;

import java.time.LocalDate;

/**
 * @ClassName: OrderServiceImpl
 * @Description:
 * @Author: lu.sy
 * @Date: 2021/11/26
 */
@Slf4j
@DubboService(version = "1.0.0",timeout = 2000)
public class OrderServiceImpl implements OrderServiceApi {
    @Override
    public String sayName(String name) {
        log.info("================调用订单服务成功================");
        return "DD-"+LocalDate.now().toString();
    }
}
